<?php
require_once 'PHPUnit/Framework.php';
require_once '../cn/solor/dig/class.BasicAnalyzer.php';

class BasicAnalyzerTest extends PHPUnit_Framework_TestCase
{
    public function setUp()
    {
        $this->analyzer = new BasicAnalyzer();
    }

    public function tearDown()
    {

    }

    function testGetFeatures()
    {
        $f = array('url' => 'hello, world');
        $this->analyzer->features = $f;
        $this->assertEquals($this->analyzer->getFeatures(), $f);
    }
}
?>
